package com.gxa.logistics.domain.vo;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class EmployeeVO {
    private Integer employeeId; //主键ID
    private String username; //用户名
    private String employeeName; //真实姓名
    private String gender; //性别（1:男,2:女）
    private String deptName;//部门名称
    private String phone; //电话号码
    private Byte status; //账户状态（1:正常,2:冻结）
    private String address; //地址
    private String role;//角色标识
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd")
    private Date hireDate; //入职时间
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd")
    private Date termDate; //离职时间
}
